import {showNotify} from "vant";


const primaryNotify = (message) => {
    showNotify({type: 'primary', message: message, duration: 3000})

}
const successNotify = (message) => {
    showNotify({type: 'success', message: message, duration: 3000})

}
const warningNotify = (message) => {
    showNotify({type: 'warning', message: message, duration: 3000})

}
const dangerNotify = (message) => {
    showNotify({type: 'danger', message: message, duration: 3000})
}

export const basicNotify = {
    primary: primaryNotify,
    success: successNotify,
    warning: warningNotify,
    danger: dangerNotify
}
